package com.hilon.base.entity;

import com.hilon.base.entity.Base;
import lombok.*;

import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;

@Data
@Entity
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public abstract class BaseSimplest extends Base {
    private String baseNo;
    private String name;
}
//最简单的数据项，只关心编码和名称